//
//  ZYEmotionModel.swift
//  CZ29WeiboZYH
//
//  Created by 沐颜澈 on 16/7/5.
//  Copyright © 2016年 muyanche. All rights reserved.
//

import UIKit

class ZYEmotionModel: NSObject {
    
    //Emoji表情使用
    var code: String?
    
    //图片表情描述 (0,代表图片表情, 1代表的是字符串表情)
    //表情的类型
    var type:String? {
    
        didSet {
            if type == "0" {
                isEmoji = false
            } else {
                isEmoji = true
            }
            
        }
    }
    
    
    
    
    var chs: String?
    //图片名称
    var png: String?
    
    //判断是否是emoji表情
    var isEmoji: Bool = false
    
    //判断是default还是emoji还是lxh
    var path: String?
    
    init(dict:[String: AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
}
